package com.bean;

import java.sql.Timestamp;

/**
 * Back entity. @author MyEclipse Persistence Tools
 */

public class Back implements java.io.Serializable {

	// Fields

	private Integer backId;
	private User user;
	private Bookinformation bookinformation;
	private Timestamp backTime;

	// Constructors

	/** default constructor */
	public Back() {
	}

	/** full constructor */
	public Back(User user, Bookinformation bookinformation, Timestamp backTime) {
		this.user = user;
		this.bookinformation = bookinformation;
		this.backTime = backTime;
	}

	// Property accessors

	public Integer getBackId() {
		return this.backId;
	}

	public void setBackId(Integer backId) {
		this.backId = backId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Bookinformation getBookinformation() {
		return this.bookinformation;
	}

	public void setBookinformation(Bookinformation bookinformation) {
		this.bookinformation = bookinformation;
	}

	public Timestamp getBackTime() {
		return this.backTime;
	}

	public void setBackTime(Timestamp backTime) {
		this.backTime = backTime;
	}

}